<div class="modal fade" ng-attr-id="{{editModel.windowId}}" tabindex="1"
	role="dialog" aria-labelledby="myModalLabel" aria-hidden="true" 
	z-loading is-loading="isLoading">
	<div class="modal-dialog modal-sm">
		<div class="modal-content panel panel-primary" >
			<div class="modal-header panel-heading">
				<button type="button" class="close" data-dismiss="modal">
					<span aria-hidden="true">&times;</span><span class="sr-only">Close</span>
				</button>
				<h4 class="modal-title" id="myModalLabel">修改密码</h4>
			</div>
			<div class="modal-body panel-body" style="height: 195px;">
			<form id="changePassword" name="changePassForm">
				<div class="col-md-12 form-item">
<!-- 					<div class="col-sm-4 col-md-4 form-title">旧密码</div> -->
<!-- 					<div class="col-sm-8 col-md-8 form-input"> -->
						<input class="form-control" name="password" type="password" placeholder="旧密码" 
							ng-focus="validOldPass()"
							required z-Tooltip ng-attr-content="{{oldPassRight}}" 
							ng-model="changePassObj.oldPassword" maxLength="20">
<!-- 					</div> -->
				</div>
				<div class="col-md-12 form-item">
<!-- 					<div class="col-sm-4 col-md-4 form-title">新密码</div> -->
<!-- 					<div class="col-sm-8 col-md-8 form-input"> -->
						<input class="form-control" name="newPassword" type="password" placeholder="新密码" required
							ng-model="changePassObj.newPassword" maxLength="20">
<!-- 					</div> -->
				</div>
				<div class="col-md-12 form-item">
<!-- 					<div class="col-sm-4 col-md-4 form-title">再次输入新密码</div> -->
<!-- 					<div class="col-sm-8 col-md-8 form-input"> -->
						<input class="form-control" name="confirmPassword" type="password" placeholder="再次输入新密码" required
							ng-model="changePassObj.confirmPassword" maxLength="20"
							ui-validate=" '$value==changePassObj.newPassword' " ng-init="focus=false;blur=false"
							ui-validate-watch="'changePassObj.newPassword'" ng-focus="focus=true;blur=false;" ng-blur="blur=true;focus=false;"
							z-Tooltip ng-attr-content="{{validPass(
								changePassObj.newPassword!=undefined&&changePassObj.newPassword!=''
								&&changePassObj.confirmPassword!=undefined&&changePassObj.confirmPassword!=''
								&&changePassForm.confirmPassword.$error.validator&&blur)}}"
							>
<!-- 					</div> -->
				</div>
			</form>
			</div>
			<div class="modal-footer panel-footer">
				<button type="button" class="btn btn-default" data-dismiss="modal" 
					>取消</button>
				<button  type="button" class="btn btn-primary"  
					ng-click="changePassword()">保存</button>
			</div>
		</div>
	</div>
</div>

